Skip to content

Move ApolloServerPluginLandingPageGraphQLPlayground to new package#6817

Merged
glasser merged 1 commit intoversion-4from
glasser/separate-playground
Aug 16, 2022
Merged

Move ApolloServerPluginLandingPageGraphQLPlayground to new package#6817
glasser merged 1 commit intoversion-4from
glasser/separate-playground

Conversation

@glasser
Copy link
Member

@glasser glasser commented Aug 16, 2022

GraphQL Playground was unmaintained when we released Apollo Server 3,
and the Apollo Server team has had to put significant work into fixing
security issues in GraphQL Playground. While we will still publish a
landing page plugin to enable folks upgrading from AS2 to not have to
immediately retrain their users on how to use Apollo Sandbox or another
interface, we remove it from the main @apollo/server package and move
it to its own @apollo/server-plugin-landing-page-graphql-playground
package. This lets us remove the Playground HTML package's dependencies
(like xss) from Apollo Server's main package.

Fixes #6109.

GraphQL Playground was unmaintained when we released Apollo Server 3,
and the Apollo Server team has had to put significant work into fixing
security issues in GraphQL Playground. While we will still publish a
landing page plugin to enable folks upgrading from AS2 to not have to
immediately retrain their users on how to use Apollo Sandbox or another
interface, we remove it from the main `@apollo/server` package and move
it to its own `@apollo/server-plugin-landing-page-graphql-playground`
package. This lets us remove the Playground HTML package's dependencies
(like `xss`) from Apollo Server's main package.

Fixes #6109.
@glasser glasser requested a review from trevor-scheer August 16, 2022 00:50
@glasser glasser marked this pull request as ready for review August 16, 2022 00:51
@netlify
Copy link

netlify bot commented Aug 16, 2022

Deploy Preview for apollo-server-docs ready!

Name Link
🔨 Latest commit a3ef411
🔍 Latest deploy log https://app.netlify.com/sites/apollo-server-docs/deploys/62fae9f38c03d30009afe9c2
😎 Deploy Preview https://deploy-preview-6817--apollo-server-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@glasser glasser enabled auto-merge (squash) August 16, 2022 00:51
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a3ef411:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

@glasser glasser merged commit eca003f into version-4 Aug 16, 2022
@glasser glasser deleted the glasser/separate-playground branch August 16, 2022 00:51
@github-actions github-actions bot mentioned this pull request Oct 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant